Configuring the Vim integration

Connection at start-up

Check if the initialization file with the name

.vimrc exists in your home directory ( ~/ .vimrc ), if not create it.
Insert the following line in the .vimrc file:
sniff connect
Vim connects to SNiFF+ immediately at start-up and will execute the commands contained in the .vimrc file at start-up.
Key mappings

- The key mappings are defined in the

sniff.vim file. This file is sourced each time you connect to SNiFF+. You can change these mappings to suit your needs. By default Vim looks for this file in the $SNIFF_DIR/config directory. However it is possible to define another search path. Insert the following into the .vimrc file before the line that contains sniff connect :
let sniff_mappings = '<where-your-sniff-mappings-are>'
Merging from vi to Vim

- If you have a

.exrc file (for use with your standard vi editor) that you would like to use with Vim, add the following command to the .vimrc file
source ~/.exrc
- If you want Vim to have the same 'look and feel' as vi, enter the following command:
:set compatible